<?php
namespace source\core\front;

use Yii;
use app\Models\User;
use source\models\search\UserSearch;
use yii\web\Controller;
use yii\web\NotFoundHttpException;
use yii\filters\VerbFilter;
use yii\db\ActiveRecord;
use yii\base\Model;
use source\core\base\BaseController;

class FrontController extends BaseController
{
	public function showMessage($message = null, $title = '提示',$params=[])
	{
		if ($message === null)
		{
			$message = '网站开了小差一会儿~';
		}
	
		$params=array_merge(['title'=>$title,'message'=>$message],$params);
	
		return $this->renderFile('//papers/message.php',$params);
	}
	
}
